//
//  OperationBillDetailModel.h
//  LogisticsSupplier
//
//  Created by 吕晶 on 2020/11/9.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <Foundation/Foundation.h>
@class OperationBillAddressModel;
@class OperationBillRejectModel;

NS_ASSUME_NONNULL_BEGIN

@interface OperationBillDetailModel : NSObject

@property (nonatomic, assign) int o_id;//操作单ID
@property (nonatomic, assign) int os_id;//操作单供应商ID
@property (nonatomic, assign) int s_type;//供应商类型 1提货 2干线 3派送 4交货 5其他
@property (nonatomic, assign) int s_status;//供应商状态 1=受理；2=驳回；3=收货；4=调度；5=途中 ；6=完成
@property (nonatomic, copy) NSString *goods_jnum;//货物件数
@property (nonatomic, copy) NSString *goods_num;//货物数量
@property (nonatomic, copy) NSString *total_weight;//重量
@property (nonatomic, copy) NSString *total_volume;//体积
@property (nonatomic, copy) NSString *start_city;//出发地
@property (nonatomic, copy) NSString *end_city;//目的地
@property (nonatomic, copy) NSString *pk_name;//包装名称
@property (nonatomic, copy) NSString *arrival_time;//要求到达时间
@property (nonatomic, copy) NSString *reject_time;//驳回时间
@property (nonatomic, copy) NSString *reject;//驳回原因
@property (nonatomic, assign) int is_d_reject;//是否显示司机驳回 1=显示 0 =否
@property (nonatomic, assign) int show_button;//(调度、收货)按钮是否置灰 1=置灰 2=正常
@property (nonatomic, strong) NSArray <OperationBillRejectModel *>*d_reject_list;//司机拒绝理由数组
@property (nonatomic, strong) NSArray <OperationBillAddressModel *>*pickup_address;
@property (nonatomic, strong) NSArray <OperationBillAddressModel *>*delivery_address;

@end

@interface OperationBillAddressModel : NSObject

@property (nonatomic, copy) NSString *name;//
@property (nonatomic, copy) NSString *contract_name;//
@property (nonatomic, copy) NSString *contract_tel;//
@property (nonatomic, copy) NSString *info;//
@property (nonatomic, copy) NSString *arrive_time;//

@end

@interface OperationBillRejectModel : NSObject

@property (nonatomic, copy) NSString *reject;//
@property (nonatomic, copy) NSString *reject_time;//
@property (nonatomic, copy) NSString *name;//
@property (nonatomic, assign) int d_id;//

@end

NS_ASSUME_NONNULL_END
